package com.xjlsoft.weather.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

import lombok.Getter;

/**
 * 地面数据  现在天气 枚举
 * */
@Getter
public enum WepNowEnum {

    WN00("00", "小学");

    WepNowEnum(String code, String descp) {
        this.code = code;
        this.descp = descp;
    }

    @EnumValue
  	@JsonValue	
    private final String code;
    
    private final String descp;
    
    @Override//一定要重写toString()
	public String toString() {
		return this.descp;
	}
    
    

}